class runtime_error;
1
2
3
4
class runtime_error : public exception {
public:
explicit runtime_error (const string& what_arg);
};
1
2
3
4
5
class runtime_error : public exception {
public:
explicit runtime_error (const string& what_arg);
explicit runtime_error (const char* what_arg);
};